{if $_W['_config']['navswitch'] || $_W['_config']['navswitch']==''}<nav class="mui-bar mui-bar-tab" id="bar">
    <a class="mui-tab-item{if $_GPC['do']=='home'} mui-active{/if}" href="./index.php?i=3&c=entry&eid=1">
        <span class="mui-icon mui-ext-icon mui-icon-home"></span>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item{if $_GPC['do']=='activity'} mui-active{/if}" href="./index.php?i=3&c=entry&m=fx_activity&do=activity&ac=activity&op=display">
        <span class="mui-icon mui-ext-icon mui-icon-faxian"></span>
        <span class="mui-tab-label">活动</span>
    </a>


    <a class="mui-tab-item{if $_GPC['do']=='member'} mui-active{/if}" href="./index.php?i=3&c=entry&do=self&m=fy_lessonv2">
        <span class="mui-icon mui-ext-icon mui-icon-person"></span>
        <span class="mui-tab-label">我的</span>
    </a>
</nav>
<script>
mui.init();
mui('.mui-bar-tab').on('tap','a',function(){
	var $this = $(this);
	if (this.getAttribute('href') != null) {
		console.log(this.getAttribute('href'));
		location.href = this.getAttribute('href');
	} else {
		return false;
	}
})
</script>{/if}